﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Ue.Components.VerificationCode
{
    /// <summary>
    /// 用于指定生成VerifyImage的选项
    /// </summary>
    [Flags]
    public enum VerifyCodeOptions
    {
        /// <summary>
        /// 十进制数字
        /// </summary>
        Number = 0x0001,

        /// <summary>
        ///英文字母
        /// </summary>
        Letter = 0x0002,

        /// <summary>
        /// 背景图片
        /// </summary>
        BackgroundImage = 0x0004,

        /// <summary>
        /// 噪点
        /// </summary>
        Noise=0x0008,

        /// <summary>
        /// 扭曲
        /// </summary>
        Distortion=0x0010,

        /// <summary>
        /// 字体样式：加粗，斜体，下划线
        /// </summary>
        FontStyle=0x00020,

        /// <summary>
        /// 干扰线
        /// </summary>
        InterferenceLines=0x00040,

        /// <summary>
        /// 全部
        /// </summary>
        All = Number | Letter | BackgroundImage | Noise | Distortion | FontStyle | VerifyCodeOptions.InterferenceLines
    }
}
